'use strict';

const db = uniCloud.database();
const add_db = db.collection('comments');
exports.main = async (event, context) => {
	
	let res = await add_db.orderBy("creat_time", "asc").get();
	//console.log(res.data.user)
	return res;
};
